<!--
 * @Description  : 
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2022-03-14 14:17:38
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-03-24 14:17:55
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\usercenter\\components\\driver\\captain\\add\\add.component.html
 * Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<div class="modal-header">
  <div class="modal-title">添加车队长</div>
</div>
<div [ngClass]="i.id || readFlag ? 'hideBtn' : ''">
  <sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'">
    <ng-template sf-template="tipsA" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
          <dl class="tips">
              <dt>正面照</dt>
              <dd>示例</dd>
          </dl>
          <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-front.png" /></div>
      </div>
  </ng-template>
  <ng-template sf-template="tipsB" let-me let-ui="ui" let-schema="schema">
      <div class="pr">
          <dl class="tips">
              <dt>背面照</dt>
              <dd>示例</dd>
          </dl>
          <div class="pa"><img height="104" src="./assets/images/usercenter/certificate-demo-back.png" /></div>
      </div>
  </ng-template>
  </sf>
</div>
<div class="modal-footer">
  <button nz-button type="button" (click)="close()">取消</button>
  <button nz-button type="button" nzType="primary" (click)="sure()" [disabled]="!sf?.valid" [nzLoading]="service.http.loading">确定</button>
</div>
